package com.simple.mq.sdk.register;

import lombok.Data;

/**
 * 项目: simple-mq
 *
 * 功能描述: 注册连接基本信息
 *
 * @author: WuChengXing
 *
 * @create: 2023-09-20 11:49
 **/
@Data
public class RegisterConnectInfo {

    private String host;

    private Integer port;

    public static RegisterConnectInfo build(String host, Integer port) {
        RegisterConnectInfo registerConnectInfo = new RegisterConnectInfo();
        registerConnectInfo.setHost(host);
        registerConnectInfo.setPort(port);
        return registerConnectInfo;
    }
}
